__author__ = 'Administrator'
from collections import deque

queue = deque(["eric", "john", "michael"])

queue.append("terry")
queue.append("graham")

print(queue.popleft())

print(queue.popleft())

print(queue)
